package com.tedu.DbDemo.pojo;
//实体类对应user表，类名和表名一样
public class User {
	//对应的是表中的user_id列
	Integer userId;
	//对应的是表中的username列
	String username;
	//表中的password列
	String password;
	//必须添加set(),get()
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	

}
